<template>
  <div class="container">
    <el-tabs  style="overflow:auto" tab-position='left' class="mineTab" type="border-card">
      <!--
                     概览
                    -->
      <el-tab-pane label="概览">
        <div class="summaryContainer">
          <div class="titleItemContainer">
            <span>赏金可用余额：</span>
            <span>￥----</span>
            <span>冻结金额：</span>
            <span>￥----</span>
            <span>充值</span>
          </div>
          <div class="titleItemContainer" style="margin-top:20px">
            <span>当前进行中的任务：</span>
            <span>-个</span>
            <span>发布任务</span>
            <span>可用免费预约简历数</span>
            <span>---个</span>
          </div>
          <div class="titleItemContainer" style="margin-top:20px">
            <span>最近收到的简历</span>
          </div>
          <el-table :data="tableData" stripe style="width: 100%">
            <el-table-column prop="date" label="接收时间" width="180">
            </el-table-column>
            <el-table-column prop="name" label="简历编号" width="180">
            </el-table-column>
            <el-table-column prop="address" label="工作经验">
            </el-table-column>
            <el-table-column prop="address" label="学历">
            </el-table-column>
            <el-table-column prop="address" label="期望薪资">
            </el-table-column>
            <el-table-column prop="address" label="任务编号">
            </el-table-column>
            <el-table-column prop="address" label="职位名称">
            </el-table-column>
            <el-table-column prop="address" label="状态">
            </el-table-column>
            <el-table-column prop="address" label="操作">
            </el-table-column>
          </el-table>
        </div>
      </el-tab-pane>
      <!--
                     账户管理
                    -->
      <el-tab-pane label="账户管理">
        <router-view name="account"/>
      </el-tab-pane>
      <!--
                     我发布的任务
                    -->
      <el-tab-pane label="我发布的任务">
       <router-view name="posttask"/>
      </el-tab-pane>
      <!--
                     我收到的简历
                    -->
      <el-tab-pane label="我收到的简历">
        <router-view name="receivedresume"/>
      </el-tab-pane>
      <!--
                     支出记录
                    -->
      <el-tab-pane label="支出记录">
        <div><div class="titleItemContainer">
            <span class="flaotLeft inputLabel">状态:</span>
            <el-select v-model="value" placeholder="请选择" class="flaotLeft inputStyle">
              <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </el-select>
            <span class="flaotLeft inputLabel">接收时间：</span>
            <el-date-picker v-model="value4" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" class="flaotLeft">
            </el-date-picker>
            <span class="flaotLeft inputLabel">简历编号：</span>
            <el-input v-model="input" placeholder="请输入内容" class="flaotLeft inputStyle"></el-input>
            <span class="flaotLeft inputLabel">任务编号：</span>
            <el-input v-model="input" placeholder="请输入内容" class="flaotLeft inputStyle"></el-input>
            <span class="flaotLeft inputLabel">职位名称：</span>
            <el-input v-model="input" placeholder="请输入内容" class="flaotLeft inputStyle"></el-input>
            <el-button type="primary" class="flaotLeft" style="margin-left:10px;">查询</el-button>
            <el-button type="primary" class="flaotLeft" style="margin-left:10px;">导出</el-button>
          </div>
          <el-table :data="tableData" stripe style="width: 100%" height="500">
            <el-table-column prop="date" label="订单号" width="180">
            </el-table-column>
            <el-table-column prop="name" label="支出时间" width="180">
            </el-table-column>
            <el-table-column prop="address" label="类别">
            </el-table-column>
            <el-table-column prop="address" label="任务编号">
            </el-table-column>
            <el-table-column prop="address" label="职位名称">
            </el-table-column>
            <el-table-column prop="address" label="简历编号">
            </el-table-column>
            <el-table-column prop="address" label="金额">
            </el-table-column>
          </el-table>
          <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="currentPage3" :page-size="100" layout="prev, pager, next, jumper" :total="1000" class="centerInHorizontal">
          </el-pagination>
        </div>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<style scoped>
.mineTab {
  width: 100%;
  height: 800px;
}

.container {
  height: 100%;
  background-color: #B3C0D1;
}

.summaryContainer {
  height: 100%;
  width: 100%;
}

.titleItemContainer {}

.titleItemContainer::after {
  content: '';
  display: table;
  clear: both;
}

.inputStyle {
  width: 150px;
  margin-left: 10px;
}

.inputLabel {
  margin-top: 10px;
  margin-left: 10px;
}

.flaotLeft {
  float: left;
}
.centerInHorizontal{
  margin: 0 auto;
  width: 200px;
}
</style>
<script>
export default {
  data() {
    return {
      tableData: [{
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-04',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1517 弄'
      }, {
        date: '2016-05-01',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1519 弄'
      }, {
        date: '2016-05-03',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1516 弄'
      }],
      options: [{
        value: '选项1',
        label: '黄金糕'
      }, {
        value: '选项2',
        label: '双皮奶'
      }, {
        value: '选项3',
        label: '蚵仔煎'
      }, {
        value: '选项4',
        label: '龙须面'
      }, {
        value: '选项5',
        label: '北京烤鸭'
      }],
      value: ''
    }
  }
}
</script>
